<template>
	<view class="huicontainer">
			<uni-list>
			   <uni-list-item v-for="(item,index) in items" :key="index" :title="item.FullName" :thumb="$api.getUrl(item.Picture)" thumb-size="lg" :note="item.AddTime" :rightText="item.Phone" />
			</uni-list>
	</view>

</template>

<script>
	export default {
		data() {
			return {
				contentText: {
				    contentdown: '上拉加载更多',
				    contentrefresh: '加载中',
				    contentnomore: '没有更多'
				},
				status:'more',
				page:0,
				reload:true,
				isMore:true,
				items: [],
				clickable: false,
				showArrow: false,
				user:undefined,
				userid:0
			}
		},
		onLoad() {
			
			this.getData();
		},
		methods: {
			getData:function(){
				this.$request.postU(this.$api.user.users).then(res => {
					this.items=res.data;
				});
			}
		}
	}
</script>

<style>
	
	.userinfo_box {
		padding:20rpx;
		border-bottom: 1px solid #eee;
		overflow: hidden;
		position: relative;
	}
.userinfo_box .pic{
	position: absolute;
	right: 20px;
	top: 15px;
	color: #d23e8a;
}
	.userinfo_box .imgname {
		overflow: hidden;
	}

	.userinfo_box .img {
		width: 100rpx;
		float: left;
		margin-right: 20rpx;
	}

	.userinfo_box .img image {
		border-radius: 50%;
	}

	.userinfo_box .namelevel {
		float: left;
		margin-left: 15rpx;
	}

	.userinfo_box .name {
		font-size: 16px;
		font-weight: bold;
	}

	.userinfo_box .level {
		color: #777;
	}

	.userinfo_box .body {
		line-height: 25px;
		color: #999;
		overflow: hidden;
	}
.userinfo_box .item {
		overflow: hidden;
		margin-bottom: -10px;
	}
	.userinfo_box .body .uni-icons {
		float: left;
		margin-right: 5rpx;
	}

	.userinfo_box .body .text {
		float: left;
		padding-top: 14rpx;
		overflow: hidden;
		height: 30px;
		width: 80%;
	}
	
</style>